package com.liam.design.proxy;

public class Student implements Person {

    private String name;

    public Student(String name){
        this.name = name;
    }

    @Override
    public void giveTask() {
        System.out.println(name + "上交作业");
    }
}
